home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / system / shell.zwp / objectives_ai.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  757 b   |  43 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7.  
  8. CreateObjectType("objective_zepp", "Objective")
  9. {
  10.   GameObj();
  11.   ObjectiveObj()
  12.   {
  13.     Condition("TRUE");
  14.     Action()
  15.     {
  16.       ExecuteScript("zepp1", "squad.move.tagtotrail")
  17.       {
  18.         Op("%.tag", "=", "zepp");
  19.         Op("%.trail", "=", "zepp");
  20.       }
  21.     }
  22.   }
  23. }
  24.  
  25.  
  26. CreateObjectType("objective_growler", "Objective")
  27. {
  28.   GameObj();
  29.   ObjectiveObj()
  30.   {
  31.     Condition("TRUE");
  32.     Action()
  33.     {
  34.       ExecuteScript("growler1", "squad.move.tagtotrail")
  35.       {
  36.         Op("%.tag", "=", "growler");
  37.         Op("%.trail", "=", "growler");
  38.       }
  39.     }
  40.   }
  41. }
  42.  
  43.